<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>留言详情</title>
    <link rel="stylesheet" type="text/css" href="$request.getContextPath()/resources/layui/css/layui.css">
</head>
<body>
<form class="layui-form" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">用户名称</label>
        <div class="layui-input-inline">
            <input type="text" name="userName" value="$!message.userName" required placeholder="请输入用户名称" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">留言用户名称</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户邮箱</label>
        <div class="layui-input-inline">
            <input type="text" name="userEmail" value="$!message.userEmail" required placeholder="请输入用户邮箱" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">留言用户邮箱</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号码</label>
        <div class="layui-input-inline">
            <input type="text" name="userPhone" value="$!message.userPhone" required placeholder="请输入用户手机号码" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">留言用户手机号码</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">留言标题</label>
        <div class="layui-input-inline">
            <input type="text" name="title" value="$!message.title" required placeholder="请输入留言标题" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">留言标题</div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">留言描述</label>
        <div class="layui-input-block">
            <textarea id="productCategoryDesc" name="remark" placeholder="请输入留言描述" class="layui-textarea">$!message.content</textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block submit-btn">
            <button class="layui-btn" lay-submit lay-filter="addProductCategoryForm">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
<script type="text/javascript" src="$request.getContextPath()/resources/jquery/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/layui/layui.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/layui/lay/modules/element.js"></script>
<script type="text/javascript">
    $(function(){
        layui.use(['form', 'layedit', 'laydate'], function(){
            var form = layui.form(),layer = layui.layer,layedit = layui.layedit,laydate = layui.laydate;
            var productCategoryDescIndex=layedit.build('productCategoryDesc',{
                height:230,
                tool: [
                    'strong' //加粗
                    ,'italic' //斜体
                    ,'underline' //下划线
                    ,'|' //分割线
                    ,'left' //左对齐
                    ,'center' //居中对齐
                    ,'right' //右对齐
                ]
            }); //建立编辑器
        });
    });
</script>
</html>